package ch.usi.inf.pf2.node;

import ch.usi.inf.pf2.Constant;
import ch.usi.inf.pf2.Multiplication;
import junit.framework.TestCase;
/**
 * A MultiplicationTest ,it tests if Multiplication class works or not.
 * 
 * @author Elham.menzer@gmail.com
 */


public class MultiplicationTest extends TestCase {
	
	public void testEvaluate(){
		Multiplication multip1 = new Multiplication(new Constant(2), new Constant(3));
		multip1.evaluate();
		assertEquals(6.0,multip1.evaluate());
		
	}

}
